<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" id="type_id" value="{$row.type_id}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_type_id"  data-rule="required"  onchange="receive()"  data-source="receive_type/index" data-field="type_name" class="form-control selectpage" name="row[receive_type_id]" type="text" value="{$row.receive_type_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Building_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-building_id" data-rule="required" data-params='{"custom[id]":$row.building_id}' data-field="building_id" data-source="receive_building/index" class="form-control selectpage" name="row[building_id]" type="text" value="{$row.building_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Floor_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-floor_no" data-rule="required" class="form-control" name="row[floor_no]" type="text" value="{$row.floor_no|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
